﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SanPham.ascx.cs" Inherits="iShopping.Guest.UserControl.SanPham" %>
<link href="../../css/cssSanPham.css" rel="stylesheet" type="text/css" />
<style type="text/css">
   .style1
    {
        width: 28px;
    }
</style>
<div>  
    <asp:DataList ID="DataList1" runat="server" RepeatColumns="5">
    <ItemTemplate>
        <table id="Single" border="0" style="margin: 5px" 
    width="180">
            <tr>
                <td class="style1" colspan="4">
                    <asp:Image ID="Image1" runat="server" 
                ImageUrl="~/images/ChiTiet/single.png" />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="4" >
                 <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("TenSanPham") %>'  
                        
                        NavigateUrl='<%# "~/Guest/ChiTietSanPham.aspx?pgn=1&id=" + Eval("MaSanPham") %>' 
                        Height="40px"></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td align="center" width="46">
                    <asp:Image ID="Image2" runat="server" 
                ImageUrl="~/images/ChiTiet/H1.png" />
                </td>
                <td align="center" width="43">
                    <asp:Image ID="Image3" runat="server" 
                ImageUrl="~/images/ChiTiet/H2.png" />
                </td>
                <td align="center" width="43">
                    <asp:Image ID="Image4" runat="server" 
                ImageUrl="~/images/ChiTiet/H3.png" />
                </td>
                <td align="center" class="style1">
                    <asp:Image ID="Image5" runat="server" 
                ImageUrl="~/images/ChiTiet/H4.png" />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="4">
                    <asp:Image ID="Image6" runat="server" Height="93px" 
                ImageUrl='<%# Eval("HinhAnh") %>' style="margin-right: 9px" 
                Width="95px" />
                </td>
            </tr>
            <tr>
                <td colspan="4" align="center" style="font-family: 'Times New Roman', Times, serif; font-size: medium; text-transform: uppercase; color: #66CCFF">
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="4" align ="center" colspan="4" align="center" style="font-family: 'Times New Roman', Times, serif; font-size: medium; text-transform: uppercase; color: #FF0000"
                    >
                    &nbsp;<asp:Label ID="Label2" runat="server" Text="0"></asp:Label>
                    VND</td>
            </tr>
            <tr>
                <td align="center" colspan="4" style="font-size:14px">
                    Giá bán lẻ:
                    <asp:Label ID="lblGia" runat="server" 
                Text='<%# Eval("GiaKhoiDiem") %>'></asp:Label>
                    VNĐ
                </td>
            </tr>
            <tr style="margin: 3px">
                <td colspan="4" style="background-color:#9999FF">
                    <asp:Image ID="Image7" runat="server" 
                ImageUrl="~/images/ChiTiet/beginner.png" />
                    Tên người đang đấu giá</td>
            </tr>
            <tr>
                <td align="center" colspan="4" height="32">
                  <asp:ImageButton ID="ImageButton1" runat="server" 
                                    ImageUrl="~/images/ChiTiet/bid_btn.png"  OnClick="ImageButton1_Click" />                    
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>    
</div>





